import Vue from 'vue'
import VueRouter from 'vue-router'
import flower from '../components/flower'
import flowershow from '../components/flowershow'
import flowerspeak from '../components/flowerspeak'
import LIFE from '../components/LIFE'
import mine from '../components/mine'
import flocoentmin from '../components/base/flocoentmin'
import car from '../components/base/car'
Vue.use(VueRouter)

const routes=[
	{path:'/flower',component:flower},
	{path:'/flowershow',component:flowershow},
	{path:'/flowerspeak',component:flowerspeak},
	{path:'/LIFE',component:LIFE},
	{path:'/mine',component:mine},
	{path:'/flocoentmin/:id',component:flocoentmin},
	{path:'/car',component:car},
	{path:'*',redirect:'/flower'}
]

const router=new VueRouter({
	routes
})

export default router